<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script type="text/javascript" src="${basePath}[@spring.url '/js/abc.js'][/@spring.url]"></script>
[@shiro.user]
    [@spring.message "greeting.msg" /], 当前用户:<b>[@shiro.principal/]</b>, <a href="${basePath}/logout">退出</a></br>
[/@shiro.user]

[@shiro.guest]
您当前是游客：<a href="${basePath}/login">登录</a>
[/@shiro.guest]

[@shiro.hasPermission name="menu:update:*"]
<p>hasPermission:i have permission user:update</p>
[/@shiro.hasPermission]

[#--[@shiro.hasAnyPermissions name="menu:update:1,menu:delete:1"]--]
[#--<p>hasAnyPermissions:i have permission user:update,user:delete</p>--]
[#--[/@shiro.hasAnyPermissions]--]

</body>
</html>